package com.utcs.modules.resource.basic.dao;

import com.utcs.common.persistence.CrudDao;
import com.utcs.common.persistence.annotation.MyBatisDao;
import com.utcs.modules.resource.basic.entity.User;

import java.util.List;

/**
 * Created by Fly on 2017/5/23.
 */
@MyBatisDao
public interface UserDao extends CrudDao<User>{

    /**
     * 根据用户名查询用户
     * @param user
     * @return
     */
    User getByName(User user);

}
